package com.food.platformmsgmanagement.domain;

import java.util.UUID;

/**
 * 值对象
 * @author 24270
 */
public class CommentId {
    private String value;

    public CommentId() {
        this.value = UUID.randomUUID().toString();
    }

    public String value() {
        return this.value;
    }

    public CommentId nextId() {
        return new CommentId();
    }
}
